package com.wang.luntan.users.pojo;

public enum AtOpinionDescEnum {
    /*
     * 定义枚举项
     */
    UPDOWN_UP("顶", Byte.valueOf("0")),
    UPDOWN_DOWN("踩", Byte.valueOf("1")),

    OPTYPE_COMMON("普通", Byte.valueOf("0")),
    OPTYPE_HOT("热门", Byte.valueOf("1")),
    OPTYPE_ESSENCE("精华", Byte.valueOf("2")),

    STATUS_DISABLED("草稿", Byte.valueOf("0")),
    STATUS_ENABLE("已发布", Byte.valueOf("1")),

    RESOLVESTATUS_UNRESO("未解决", Byte.valueOf("0")),
    RESOLVESTATUS_RESO("解决", Byte.valueOf("1")),
    ;

    private String name;
    private byte status;

    private AtOpinionDescEnum(String name, byte status) {
        this.name = name;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }

}
